/*
 * GeneralDevice.h
 *
 *  Created on: Apr 12, 2011
 *      Author: stud
 */

#ifndef GENERALDEVICE_H_
#define GENERALDEVICE_H_

#include <string>
#include <list>

class GeneralDevice
{
public:
	static GeneralDevice* getInstance();
	char* getValue();
	void setValue(char* value);
private:
	char* value;
	string filename;
	size_t fd;

	GeneralDevice(string filename)
	{
		this->filename = filename;
	}
	~GeneralDevice()
	{

	}
};

#endif /* GENERALDEVICE_H_ */
